<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <div id="div">
        <img :src="jpg">
    </div>
    <script src="../vue.js"></script>
    <script>
        const vue = new Vue({
            el: '#div',
            data:{
                jpg:"1.jpg"
            }
        });
    </script>
</body>
</html>